package org.edu.modules.portal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

@TableName("ve_site_book")
public class VeSiteBook implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;
    @Excel(name = "栏目ID", width = 15.0D)
    @ApiModelProperty("栏目ID")
    private Integer cateid;
    @Excel(name = "留言用户ID", width = 15.0D)
    @ApiModelProperty("留言用户ID")
    private Integer userid;
    @Excel(name = "用户姓名", width = 15.0D)
    @ApiModelProperty("用户姓名")
    private String username;
    @Excel(name = "留言内容", width = 15.0D)
    @ApiModelProperty("留言内容")
    private String content;
    @Excel(name = "标题", width = 15.0D)
    @ApiModelProperty("标题")
    private String title;
    @Excel(name = "审核状态0待审核，1已通过，2未通过", width = 15.0D)
    @ApiModelProperty("审核状态0待审核，1已通过，2未通过")
    private Integer status;

    public org.edu.modules.portal.entity.VeSiteBook setId(Integer id) {
        this.id = id;
        return this;
    }

    @Excel(name = "回复内容", width = 15.0D)
    @ApiModelProperty("回复内容")
    private String replycontent;
    @Excel(name = "回复用户ID", width = 15.0D)
    @ApiModelProperty("回复用户ID")
    private Integer replyuserid;
    @Excel(name = "回复用户姓名", width = 15.0D)
    @ApiModelProperty("回复用户姓名")
    private String replyusername;
    @Excel(name = "回复时间", width = 15.0D)
    @ApiModelProperty("回复时间")
    private Integer replytime;
    @Excel(name = "是否回复0未回复1已回复", width = 15.0D)
    @ApiModelProperty("是否回复0未回复1已回复")
    private Integer isreply;
    @Excel(name = "留言时间", width = 15.0D)
    @ApiModelProperty("留言时间")
    private Integer addtime;
    @Excel(name = "站点ID", width = 15.0D)
    @ApiModelProperty("站点ID")
    private Integer siteid;
    @Excel(name = "终端系统ID", width = 15.0D)
    @ApiModelProperty("终端系统ID")
    private Integer terminalid;
    @Excel(name = "多租户id", width = 15.0D)
    @ApiModelProperty("多租户id")
    private Integer placeId;

    public org.edu.modules.portal.entity.VeSiteBook setCateid(Integer cateid) {
        this.cateid = cateid;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteBook setUserid(Integer userid) {
        this.userid = userid;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteBook setUsername(String username) {
        this.username = username;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteBook setContent(String content) {
        this.content = content;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteBook setTitle(String title) {
        this.title = title;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteBook setStatus(Integer status) {
        this.status = status;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteBook setReplycontent(String replycontent) {
        this.replycontent = replycontent;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteBook setReplyuserid(Integer replyuserid) {
        this.replyuserid = replyuserid;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteBook setReplyusername(String replyusername) {
        this.replyusername = replyusername;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteBook setReplytime(Integer replytime) {
        this.replytime = replytime;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteBook setIsreply(Integer isreply) {
        this.isreply = isreply;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteBook setAddtime(Integer addtime) {
        this.addtime = addtime;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteBook setSiteid(Integer siteid) {
        this.siteid = siteid;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteBook setTerminalid(Integer terminalid) {
        this.terminalid = terminalid;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteBook setPlaceId(Integer placeId) {
        this.placeId = placeId;
        return this;
    }

    public String toString() {
        return "VeSiteBook(id=" + getId() + ", cateid=" + getCateid() + ", userid=" + getUserid() + ", username=" + getUsername() + ", content=" + getContent() + ", title=" + getTitle() + ", status=" + getStatus() + ", replycontent=" + getReplycontent() + ", replyuserid=" + getReplyuserid() + ", replyusername=" + getReplyusername() + ", replytime=" + getReplytime() + ", isreply=" + getIsreply() + ", addtime=" + getAddtime() + ", siteid=" + getSiteid() + ", terminalid=" + getTerminalid() + ", placeId=" + getPlaceId() + ")";
    }


    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof org.edu.modules.portal.entity.VeSiteBook)) return false;
        org.edu.modules.portal.entity.VeSiteBook other = (org.edu.modules.portal.entity.VeSiteBook) o;
        if (!other.canEqual(this)) return false;
        Object this$id = getId(), other$id = other.getId();
        if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id)) return false;
        Object this$cateid = getCateid(), other$cateid = other.getCateid();
        if ((this$cateid == null) ? (other$cateid != null) : !this$cateid.equals(other$cateid)) return false;
        Object this$userid = getUserid(), other$userid = other.getUserid();
        if ((this$userid == null) ? (other$userid != null) : !this$userid.equals(other$userid)) return false;
        Object this$status = getStatus(), other$status = other.getStatus();
        if ((this$status == null) ? (other$status != null) : !this$status.equals(other$status)) return false;
        Object this$replyuserid = getReplyuserid(), other$replyuserid = other.getReplyuserid();
        if ((this$replyuserid == null) ? (other$replyuserid != null) : !this$replyuserid.equals(other$replyuserid))
            return false;
        Object this$replytime = getReplytime(), other$replytime = other.getReplytime();
        if ((this$replytime == null) ? (other$replytime != null) : !this$replytime.equals(other$replytime))
            return false;
        Object this$isreply = getIsreply(), other$isreply = other.getIsreply();
        if ((this$isreply == null) ? (other$isreply != null) : !this$isreply.equals(other$isreply)) return false;
        Object this$addtime = getAddtime(), other$addtime = other.getAddtime();
        if ((this$addtime == null) ? (other$addtime != null) : !this$addtime.equals(other$addtime)) return false;
        Object this$siteid = getSiteid(), other$siteid = other.getSiteid();
        if ((this$siteid == null) ? (other$siteid != null) : !this$siteid.equals(other$siteid)) return false;
        Object this$terminalid = getTerminalid(), other$terminalid = other.getTerminalid();
        if ((this$terminalid == null) ? (other$terminalid != null) : !this$terminalid.equals(other$terminalid))
            return false;
        Object this$placeId = getPlaceId(), other$placeId = other.getPlaceId();
        if ((this$placeId == null) ? (other$placeId != null) : !this$placeId.equals(other$placeId)) return false;
        Object this$username = getUsername(), other$username = other.getUsername();
        if ((this$username == null) ? (other$username != null) : !this$username.equals(other$username)) return false;
        Object this$content = getContent(), other$content = other.getContent();
        if ((this$content == null) ? (other$content != null) : !this$content.equals(other$content)) return false;
        Object this$title = getTitle(), other$title = other.getTitle();
        if ((this$title == null) ? (other$title != null) : !this$title.equals(other$title)) return false;
        Object this$replycontent = getReplycontent(), other$replycontent = other.getReplycontent();
        if ((this$replycontent == null) ? (other$replycontent != null) : !this$replycontent.equals(other$replycontent))
            return false;
        Object this$replyusername = getReplyusername(), other$replyusername = other.getReplyusername();
        return !((this$replyusername == null) ? (other$replyusername != null) : !this$replyusername.equals(other$replyusername));
    }

    protected boolean canEqual(Object other) {
        return other instanceof org.edu.modules.portal.entity.VeSiteBook;
    }

    public int hashCode() {
        int PRIME = 59;
        Integer result = 1;
        Object $id = getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        Object $cateid = getCateid();
        result = result * 59 + (($cateid == null) ? 43 : $cateid.hashCode());
        Object $userid = getUserid();
        result = result * 59 + (($userid == null) ? 43 : $userid.hashCode());
        Object $status = getStatus();
        result = result * 59 + (($status == null) ? 43 : $status.hashCode());
        Object $replyuserid = getReplyuserid();
        result = result * 59 + (($replyuserid == null) ? 43 : $replyuserid.hashCode());
        Object $replytime = getReplytime();
        result = result * 59 + (($replytime == null) ? 43 : $replytime.hashCode());
        Object $isreply = getIsreply();
        result = result * 59 + (($isreply == null) ? 43 : $isreply.hashCode());
        Object $addtime = getAddtime();
        result = result * 59 + (($addtime == null) ? 43 : $addtime.hashCode());
        Object $siteid = getSiteid();
        result = result * 59 + (($siteid == null) ? 43 : $siteid.hashCode());
        Object $terminalid = getTerminalid();
        result = result * 59 + (($terminalid == null) ? 43 : $terminalid.hashCode());
        Object $placeId = getPlaceId();
        result = result * 59 + (($placeId == null) ? 43 : $placeId.hashCode());
        Object $username = getUsername();
        result = result * 59 + (($username == null) ? 43 : $username.hashCode());
        Object $content = getContent();
        result = result * 59 + (($content == null) ? 43 : $content.hashCode());
        Object $title = getTitle();
        result = result * 59 + (($title == null) ? 43 : $title.hashCode());
        Object $replycontent = getReplycontent();
        result = result * 59 + (($replycontent == null) ? 43 : $replycontent.hashCode());
        Object $replyusername = getReplyusername();
        return result * 59 + (($replyusername == null) ? 43 : $replyusername.hashCode());
    }


    public Integer getId() {

        return this.id;
    }

    public Integer getCateid() {

        return this.cateid;
    }

    public Integer getUserid() {

        return this.userid;
    }

    public String getUsername() {

        return this.username;
    }

    public String getContent() {

        return this.content;
    }

    public String getTitle() {

        return this.title;
    }

    public Integer getStatus() {

        return this.status;
    }

    public String getReplycontent() {

        return this.replycontent;
    }

    public Integer getReplyuserid() {

        return this.replyuserid;
    }

    public String getReplyusername() {

        return this.replyusername;
    }

    public Integer getReplytime() {

        return this.replytime;
    }

    public Integer getIsreply() {

        return this.isreply;
    }

    public Integer getAddtime() {

        return this.addtime;
    }

    public Integer getSiteid() {

        return this.siteid;
    }

    public Integer getTerminalid() {

        return this.terminalid;
    }

    public Integer getPlaceId() {

        return this.placeId;
    }
}



